#include <stdio.h>
int main(){
    char *filename = "io.txt";
    FILE *iofile = fopen(filename,"a+");
    if(iofile == NULL){
        printf("a+不能打开不存在的文件\n");
    }else{
        printf("a+能打开不存在的文件\n");
    }
}